package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.net.KepuGetDoctorListTask.KepuGetDoctorListRequest;
import com.smiier.skin.net.KepuGetDoctorListTask.KepuGetDoctorListResponse;
import com.smiier.skin.net.entity.User;
import com.smiier.skin.util.GlobalSettings;

public class KepuGetDoctorListTask extends
		NetTask<KepuGetDoctorListRequest, KepuGetDoctorListResponse> {

	public static class KepuGetDoctorListRequest extends ORequest {
		public ArrayList<Long> doctorid;
	}

	public static class KepuGetDoctorListResponse extends OResponse {
		public ArrayList<User> Res;
	}

	/*
	 * public static class KepuUserGetListRequest extends ORequest { public
	 * static final int DEFAULT_RECOMMEND_NO = 0; public static final int
	 * DEFAULT_RECOMMEND_YES = 1; public int sort = DEFAULT_RECOMMEND_NO; public
	 * long start; public int pagesize; public String province; public String
	 * city; public String skilled; }
	 */

	/*
	 * public static class KepuUserList implements INoProguard { // public
	 * ArrayList<User> Users; public ArrayList<User> Res; }
	 */

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL_TREATMENT
				+ "Client/TreatmentProject/doctorData";
		// http://123.57.73.61/Client/TreatmentProject/doctorList
		mRequestMethod = METHOD_GET;
	}

}
